/* 基础样式 */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #2d2d2d;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 工具栏样式 */
.toolbar {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.search-box {
    padding: 10px;
    flex-grow: 1;
    background: #424242;
    border: 1px solid #616161;
    color: white;
}

.sort-select {
    padding: 10px;
    background: #424242;
    border: 1px solid #616161;
    color: white;
}

/* 模组卡片布局 */
.mod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.mod-card {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s;
}

.mod-card:hover {
    transform: translateY(-5px);
}

.mod-title {
    color: #4CAF50;
    margin: 0 0 10px 0;
}

.mod-detail {
    margin: 5px 0;
    color: #b0b0b0;
}

/* 分页按钮 */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.page-btn {
    padding: 8px 16px;
    margin: 0 5px;
    background: #4CAF50;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.page-btn:disabled {
    background: #616161;
    cursor: not-allowed;
}
